package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 店铺进货订单详情表
 * </p>
 *
 * @author yang
 * @since 2021-09-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_store_purchase_detail_order")
@ApiModel("店铺进货订单详情表")
public class StorePurchaseDetailOrder implements Serializable {


    @TableId(value = "store_purchase_detail_order_id", type = IdType.AUTO)
    private Integer storePurchaseDetailOrderId;

    /**
     * 平台商品id
     */
    @ApiModelProperty("平台商品id")
    private Integer storePurchaseDetailOrderGoodId;

    /**
     * 平台商品名
     */
    @ApiModelProperty("平台商品名")
    private String storePurchaseDetailOrderGoodName;

    /**
     * 数量
     */
    @ApiModelProperty("数量")
    private Integer storePurchaseDetailOrderNum;

    /**
     * 店铺进货订单id
     */
    @ApiModelProperty("店铺进货订单id")
    private Integer storePurchaseDetailOrderStorePurchaseOrderId;

    /**
     * 平台商品单价
     */
    @ApiModelProperty("平台商品单价")
    private BigDecimal storePurchaseDetailOrderGoodPrice;

    /**
     * 平台商品小计
     */
    @ApiModelProperty("平台商品小计")
    private BigDecimal storePurchaseDetailTotal;

    /**
     * 店铺id
     */
    @ApiModelProperty("店铺id")
    private Integer storePurchaseDetailOrderStoreId;

    /**
     * 记录新增时间
     */
    private Date rawAddTime;

    /**
     * 记录修改时间
     */
    private Date rawUpdateTime;


}
